package com.yidu.qianfeng.common.bean.waybill;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yidu.qianfeng.common.bean.client.Consignee;
import com.yidu.qianfeng.common.bean.client.Shipper;
import com.yidu.qianfeng.common.bean.company.EmpInfo;
import com.yidu.qianfeng.common.bean.company.Subst;
import com.yidu.qianfeng.common.bean.transport.TrackWaybill;
import com.yidu.qianfeng.common.bean.transport.TruckLoading;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: TangSheng
 * @Description: 运单信息实体
 * @Date Created in 14:56 2021/3/16
 * @since 1.0
 */

@Data
@NoArgsConstructor
@TableName("table_waybill")
public class Waybill {

    @TableId("waybill_consign_num")
    private String waybillConsignNum;//托运单号

    private String waybillShipperId;//运单发货方ID

    private String waybillConsiId;//运单收货方ID

    private String waybillStartingSubst;//运单出发地Id

    private String waybillReachCity;//到达城市

    private String waybillReachSubst;//到达站ID

    private String waybillConsignDate;//托运日期

    private String waybillShippingMethod;//送货方式

    private String waybillTransType;//运输类型

    private String waybillPromiseDate;//运输承诺日期

    private String waybillOrderNum;//订单编号

    private char waybillSignforMess;//签收短信

    private String waybillCargoName;//货物名称

    private String waybillPackingWay;//包装方式

    private Integer waybillCargoCount;//数量

    private double waybillCargoWeight;//重量

    private double waybillCargoPrice;//单价

    private double waybillCargoVolume;//体积

    private String waybillChargeMode;//计费方式

    private double waybillBasicFreight;//基本运费

    private double waybillPickupFee;//提货费

    private double waybillDeliveryFee;//送货费

    private double waybillCargoValue;//货物价值

    private double waybillInsuranceFee;//保费

    private double waybillUploadFee;//卸货费

    private double waybillRebateCollection;//返利代收

    private double waybillIncomeTotal;//应收总额

    private String waybillPaymentMethod;//付款方式

    private double waybillNowIncome;//现收

    private double waybillBackpayMonth;//回付月结

    private double waybillReachPay;//到付

    private String waybillReceipt;//回单

    private String waybillRemark;//运单备注

    private String waybillPromoter;//业务员

    private String waybillOther;//其它内容

    private String waybillPickupDriver;//提货司机

    private double waybillPickupSpend;//提货开支

    private String waybillBillingPerson;//运单开单员

    @TableField(exist = false)
    private Shipper shipper;//运单发货方实体

    @TableField(exist = false)
    private Consignee consignee;//运单收货方实体

    @TableField(exist = false)
    private Subst substation;//到达站实体

    @TableField(exist = false)
    private EmpInfo empInfo;//运单开单员实体

    @TableField(exist = false)
    private TrackWaybill trackWaybill;//运单跟踪实体

    @TableField(exist = false)
    private TruckLoading truckLoading;//装车列表

}
